package com.moive.news.tqnewsapplication.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/22.
 */

public class CollectInfo {


    /**
     * code : 0
     * msg : 成功
     * data : [{"id":"f8b58ca8dea14f0c991be11af4106594","newsId":"2e776c95abf3404c99ff11a1d1547322","userId":"4028805e604de54801604de593860000","createDate":1515575425000,"newsTitle":"北京警方证实：此前醉驾的郎永淳已经刑满释放","newsTitleImg":"http://api.jisuapi.com/news/upload/201801/09100010_52492.jpg","newsTime":1515458969000,"newsSrc":"","newsCategory":"星闻"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : f8b58ca8dea14f0c991be11af4106594
         * newsId : 2e776c95abf3404c99ff11a1d1547322
         * userId : 4028805e604de54801604de593860000
         * createDate : 1515575425000
         * newsTitle : 北京警方证实：此前醉驾的郎永淳已经刑满释放
         * newsTitleImg : http://api.jisuapi.com/news/upload/201801/09100010_52492.jpg
         * newsTime : 1515458969000
         * newsSrc :
         * newsCategory : 星闻
         */

        private String id;
        private String newsId;
        private String userId;
        private long createDate;
        private String newsTitle;
        private String newsTitleImg;
        private long newsTime;
        private String newsSrc;
        private String newsCategory;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNewsId() {
            return newsId;
        }

        public void setNewsId(String newsId) {
            this.newsId = newsId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public String getNewsTitle() {
            return newsTitle;
        }

        public void setNewsTitle(String newsTitle) {
            this.newsTitle = newsTitle;
        }

        public String getNewsTitleImg() {
            return newsTitleImg;
        }

        public void setNewsTitleImg(String newsTitleImg) {
            this.newsTitleImg = newsTitleImg;
        }

        public long getNewsTime() {
            return newsTime;
        }

        public void setNewsTime(long newsTime) {
            this.newsTime = newsTime;
        }

        public String getNewsSrc() {
            return newsSrc;
        }

        public void setNewsSrc(String newsSrc) {
            this.newsSrc = newsSrc;
        }

        public String getNewsCategory() {
            return newsCategory;
        }

        public void setNewsCategory(String newsCategory) {
            this.newsCategory = newsCategory;
        }
    }
}
